<%
var body = {
	var formId = 'detailForm' + object.code;
%>

<body>

	<form class="layui-form" action="">
		<div class="layui-form-item">
			<%
		for(field in object.fields){
		var value = record[field.en];
		%>
			<div class="layui-inline">
				<label class="layui-form-label">${field.cn}</label>
				<div class="layui-input-inline">
					<input type="text" name="${field.en}" value="${value}" placeholder="请输入${field.cn}"
						autocomplete="off" class="layui-input" disabled>
				</div>
			</div>
			<%
		}
		%>
		</div>
	</form>
	<script type="text/javascript" src="${STATIC!}/xadmin/lib/layui/layui.all.js"></script>

	<%if(!isEmpty(object.diy_js!)){%>
	<script type="text/javascript" src="${object.diy_js}"></script>
	<%}%>

<%};include("/xfast/layout/default.html",{'title' : object.name + ' detail', 'layoutContent' : body, 'isEditor' : true}){}%>